//
//  ViewController.swift
//  微信视频
//
//  Created by 罗杰 on 2016/11/15.
//  Copyright © 2016年 罗杰. All rights reserved.
//

import UIKit

class ViewController: UIViewController,RecordVideoControllerDelegate {

    @IBAction func skip(_ sender: Any) {
        
        let record =  RecordVideoController()
        record.delegate=self
        self.present(record, animated: true, completion: nil)

    }
    func controller(controller: RecordVideoController, recordFinished url: URL) {
        let decode: VideoDataDecode = VideoDataDecode(videoPath: url.absoluteString)
        decode.getImageSource { (images) in
            print(images)
        }

    }
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

